#pragma once

#include <QWebEngineView>
#include <QCloseEvent>
#include "ui_NewsDetailsWidget.h"

QT_BEGIN_NAMESPACE
namespace Ui { class NewsDetailsWidgetClass; };
QT_END_NAMESPACE

class NewsDetailsWidget : public QWebEngineView
{
	Q_OBJECT

public:
	NewsDetailsWidget(QWidget *parent = nullptr);
	~NewsDetailsWidget();

private:
	Ui::NewsDetailsWidgetClass* ui;

	virtual void closeEvent(QCloseEvent* event) override;

signals:
	void on_newsDetails_close();
};
